/* pages/proDetail/proDetail.wxss */

page {
    background: #f1f1f1;
    position: relative;
    padding-bottom: 90rpx;
}

.detailBanner {
    position: relative;
    overflow: hidden;
}

swiper,
swiper-item,
video {
    width: 100vw;
    height: 100vw;
}

swiper-item image {
    width: 100vw;
    height: 100vw;
}

.toggle {
    position: absolute;
    bottom: 110rpx;
    left: 50%;
    margin-left: -125rpx;
    width: 250rpx;
    height: 40rpx;
    color: #fff;
    z-index: 500;
    font-size: 25rpx;
    letter-spacing: 2rpx;
}

.detailBanner .toggle .btn {
    display: inline-block;
    text-align: center;
    border-radius: 12rpx;
    background: rgba(255, 255, 255, 0.8);
    color: #000;
    margin: 0 10rpx;
    padding: 3px 5px;
}

.detailBanner .toggle .btn.active {
    background: #e02e24;
    color: #fff;
}

.proInfo {
    background: #fff;
}

.price_group {
    width: 60vw;
    color: #fff;
    padding: 10rpx;
}

.disPrice {
    font-size: 45rpx;
    font-weight: bold;
    margin-right: 20rpx;
}

.orPrice {
    margin-right: 20rpx;
    text-decoration: line-through;
    color: #fff;
}

.line {
    font-size: 20rpx;
    color: #fff;
}

.buynum {
    margin-left: 20rpx;
    letter-spacing: 1px;
    color: #fff;
}

.group {
    border-radius: 8px 8px 0 0;
    background-image: linear-gradient(to bottom right, #f1699d, #fc4642);
}

.count_down {
    width: 38vw;
    color: #fff;
}

.count_down {
    padding: 10rpx 10rpx;
}

.count_down .text {
    line-height: 44rpx;
    height: 44rpx;
    text-align: center;
}

.count_down .time {
    font-size: 24rpx;
    background: #fff;
    border-radius: 8rpx;
    height: 44rpx;
    width: 44rpx;
    color: #f78738;
}

.left-area {
    width: 80%;
}

.right-area {
    width: 15%;
    text-align: center;
    color: #666;
    padding: 0;
    line-height: 40rpx;
    background-color: #fff;
    border-radius: 0;
    border-left: 1rpx #ddd solid;
}

.right-area::after {
    border: none;
}

.share_bar {
    padding: 10rpx 0;
}

.shareIcon {
    width: 30rpx;
    height: 30rpx;
    overflow: hidden;
    text-align: center;
}

.proName {
    line-height: 40rpx;
    margin-bottom: 10rpx;
    padding-left: 10rpx;
}

.proName .summary {
    margin-left: 5px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    word-break: break-all;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-align: left;
}

.tag {
    background: #fff;
    border-radius: 10rpx;
    color: #e02e24;
    margin-right: 30rpx;
    padding: 0 10rpx;
    max-width: 280rpx;
    margin-left: 10rpx;
    height: 45rpx;
    line-height: 45rpx;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.topback {
    width: 60rpx;
    height: 60rpx;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    position: absolute;
    top: 50px;
    left: 20rpx;
    z-index: 500;
}

.topback image {
    max-height: 55rpx;
    max-width: 55rpx;
}

/*优惠券*/

.arrows_list {
    min-height: 40rpx;
    background: #fff;
    padding-bottom: 25rpx;
}

.arrows_list .left_text {
    width: 90vw;
    padding: 0 10rpx;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: #424242;
}

.arrows_list .left_text .pic {
    width: 70rpx;
    height: 70rpx;
    overflow: hidden;
    border-radius: 10rpx;
}

.arrows_list .left_text .pic image {
    max-width: 70rpx;
    max-height: 70rpx;
}

.arrows_list .left_text .text {
    width: -moz-calc(100% - 70rpx);
    width: -webkit-calc(100% - 70rpx);
    width: calc(100% - 70rpx);
    padding-left: 10rpx;
    white-space: normal;
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 40rpx;
}

.arrows_list .left_text .pic image {
    max-width: 100%;
    max-height: 100%；;
}

.arrows_list .right_btn {
    width: 10vw;
    text-align: center;
    color: #aeaeae;
    padding: 10rpx;
}

.arrows_list .right_btn image {
    width: 40rpx;
    height: 40rpx;
}

.sku {
    margin-bottom: 10rpx;
}

/* 商品评价 */

.comment {
    padding: 10rpx 20rpx;
    min-height: 100rpx;
    background: #fff;
    margin-top: 5px;
}

.comment .header {
    height: 70rpx;
    border-bottom: 1px #f3f3f3 solid;
    padding-bottom: 10rpx;
}

.comment .header .left_text {
    color: #666;
}

.comment .header .more {
    color: #a1a1a1;
}

.comment_item {
    border-bottom: 1px #f3f3f3 solid;
    padding: 10rpx;
}

.comment_item:last-child {
    border-bottom: none;
}

.comment_item .title {
    margin-bottom: 10rpx;
}

.comment_item .title .user .user_pic {
    width: 60rpx;
    height: 60rpx;
    overflow: hidden;
    border-radius: 50%;
    margin-right: 10rpx;
}

.comment_item .title .user .user_pic image {
    max-width: 100%;
    max-height: 100%;
}

.comment_item .title .grade {
    color: #999;
}

.comment_item .context {
    padding-bottom: 10rpx;
    line-height: 40rpx;
    font-size: 25rpx;
    color: #424242;
}

.comment_item .date {
    height: 50rpx;
    color: #999;
}

.no_msg {
    color: #999;
}

.star {
    width: 30rpx;
    height: 30rpx;
}

/* 商品详情 */

.proDetail {
    margin-top: 5px;
    background: #fff;
}

.proDetail .header {
    height: 70rpx;
    padding-left: 10rpx;
    border-bottom: 1px #f3f3f3 solid;
}

.proDetail .header .left_text {
    color: #666;
}

.proDetail .detail {
    padding: 10rpx;
}

.proDetail .detail image {
    width: 100%;
    margin-top: -7rpx;
}

.proDetail .detail .context {
    line-height: 50rpx;
}

/*底栏*/

.bottomBar {
    position: fixed;
    height: 90rpx;
    background-color: #fff;
    z-index: 100;
    bottom: 0;
    width: 100vw;
}

.bottomBar .salefinish {
    background-color: #aaa;
    color: #fff;
    height: 90rpx;
    text-align: center;
}

.bottomBar .cart {
    width: 10vw;
    text-align: center;
    color: #aeaeae;
    position: relative;
}

.bottomBar .cart .cartNum {
    position: absolute;
    width: 40rpx;
    height: 40rpx;
    border-radius: 50%;
    text-align: center;
    line-height: 40rpx;
    background: #e1382e;
    color: #fff;
    font-size: 22rpx;
    top: 0;
    right: 25rpx;
}

.bottomBar .cart .icon {
    width: 45rpx;
    height: 45rpx;
    margin: 0 auto;
    margin-top: 10rpx;
}

.bottomBar .cart {
    width: 20vw;
    text-align: center;
    color: #aeaeae;
}

.bottomBar .add_cart {
    width: 40vw;
    line-height: 90rpx;
    color: #fff;
    text-align: center;
    background: #474747;
}

.bottomBar .buy_btn {
    width: 40vw;
    line-height: 90rpx;
    color: #fff;
    text-align: center;
    background: #f03e35;
}

.bottomBar .buy_oprice_btn {
    width: 40vw;
    line-height: 90rpx;
    color: #fff;
    text-align: center;
    background: #f39b96b0;
}

.cart_text {
    margin-top: -10rpx;
    font-size: 12px;
}

.p_pro {
    height: 70rpx;
    padding: 0 20rpx;
}

.p_pro .p_price {
    font-size: 30rpx;
    color: rgba(221, 80, 45, 0.856);
}

.p_pro .p_salenum {
    color: #999;
    font-size: 24rpx;
}

/**/

.my-dialog {
    opacity: 1;
}

.my-dialog .my-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
}

.my-dialog .my-container {
    position: fixed;
    width: 100%;
    height: 60vh;
    bottom: 0;
    left: 0;
    background-color: #fff;
    z-index: 5000;
}

.my-dialog .my-container.small {
    height: 30vh;
}

.my-dialog .my-container .titleBar {
    height: 10vh;
    position: relative;
}

.my-dialog .my-container .titleBar .close {
    position: absolute;
    top: 0;
    right: 0;
    width: 8vh;
    height: 8vh;
    line-height: 8vh;
    text-align: center;
    font-size: 35rpx;
    color: #777;
    z-index: 999;
}

.my-dialog .my-container .proContent {
    position: relative;
    padding: 0 20rpx;
}

.my-dialog .my-container .proContent .pro-img {
    width: 160rpx;
    height: 160rpx;
    overflow: hidden;
    margin-top: -30rpx;
    border-radius: 8rpx;
}

.my-dialog .my-container .proContent .pro-img image {
    width: 100%;
    height: 100%;
    background: #fff;
}

.my-dialog .my-container .proInfo {
    padding-left: 20rpx;
    max-width: 75%;
}

.my-dialog .my-container .proInfo .pro_price {
    font-size: 38rpx;
    color: #e1382e;
}

.my-dialog .my-container .proInfo .describe {
    color: #999;
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.my-dialog .my-container .sku_content {
    height: 43vh;
    overflow-x: hidden;
    overflow-y: scroll;
}

.my-dialog .my-container .btnBar {
    height: 7vh;
    color: #fff;
    font-size: 30rpx;
    letter-spacing: 5rpx;
}

.my-dialog .my-container .sku-item {
    padding: 20rpx;
}

.my-dialog .my-container .sku-item .sku-title {
    color: #999;
    padding-bottom: 10rpx;
}

.my-dialog .my-container .sku-item .item {
    padding: 15rpx 20rpx;
    background: #f3f3f3;
    margin: 10rpx;
    border-radius: 8rpx;
}

.my-dialog .my-container .sku-item .item.active {
    padding: 14rpx 19rpx;
    border: 1px #e93b3d solid;
    color: #e93b3d;
    background: #fff;
}

.my-dialog .my-container .sku-item .item.dis {
    background: #eee;
    color: #aaa;
}

.my-dialog .my-container .numBar {
    height: 90rpx;
    border-top: 1px #f3f3f3 solid;
    padding: 0 20rpx;
}

.my-dialog .my-container .buynum {
    width: 180rpx;
    height: 50rpx;
    border: 1px #999 solid;
    border-radius: 5rpx;
    overflow: hidden;
    color: #fff;
}

.my-dialog .my-container .buynum .changeIcon {
    width: 50rpx;
    height: 50rpx;
    line-height: 50rpx;
    text-align: center;
    display: inline-block;
    font-size: 30rpx;
    color: #000;
}

.my-dialog .my-container .buynum .changeNum {
    width: 90rpx;
    height: 50rpx;
    line-height: 50rpx;
    text-align: center;
    display: inline-block;
    font-size: 30rpx;
    border-left: 1px #999 solid;
    border-right: 1px #999 solid;
    color: #000;
}

.buyNow {
    width: 100%;
    line-height: 90rpx;
    text-align: center;
    color: #fff;
}

.openGorup {
    width: 50vw;
    background: #e02e24;
    color: #fff;
}

.blank {
    padding-top: 300rpx;
}

.detail rich-text {
    width: 100%;
}

.brand {
    background: #e02e24;
    padding: 2px 3px;
    border-radius: 8rpx;
    font-size: 14px;
    margin-right: 5px;
    color: #fff;
    line-height: 22px;
}

.name {
    font-size: 16px;
    color: #666;
}

.attr {
    font-size: 12px;
    color: #999;
}

.progress_sku {
    border: 1px solid #f1f1f1;
    border-radius: 8rpx;
    height: 18rpx;
    width: 60%;
    float: left;
    margin-left: 0;
    margin-top: 5px;
}

.progress {
    border-radius: 8rpx;
    background-image: linear-gradient(to right, #f14b6e, #ec3996);
    height: 18rpx;
}

.max {
    float: left;
    margin-top: 3px;
    margin-left: 5px;
    font-size: 12px;
    color: #333;
    height: 18rpx;
}
